package com.caiyouxi.goods.model;

import com.caiyouxi.common.bean.QueryParams;

import java.io.Serializable;

/**
 * chensong
 * 商品品类
 */
public class GoodsCategory extends QueryParams implements Serializable {
    
    private Integer id; //品类编号
    
    private Integer parent_id;//上级分类编号；如果为0则表示一级分类
    
    private String name;//品类名称
    
    private String short_name;//品类简称。如果未填写则和品类名称字段值一样
    
    private String logo;//图标地址
    
    private String order_num;//排序号。同级内排序。
    
    private String remark;//品类说明字段。
    
    private Integer is_system;//是否是系统内置品类。内置品类不能被删除。
    
    private Integer visible;//是否前台可见。
    
    private Integer is_del;//是否被删除。如果该品类下有下级分类或该分类下有商品正在上架的，则不允许被删除。
    
    private String subcategories;//子品类编号列表，以|分隔，比如：1001|1002
    
    private Integer release_limited;//可以在该品类下发布商品的卖家限制
    
    private String allowed_currency_codes;//商品定价支持的货币类型
    
    private Integer order_pay_expire_interval;//创建订单后超时未支付自动取消订单的间隔。单位分钟。默认为30分钟。

    private Integer order_deliver_expire_interval;//支付后未发货或发货失败的自动取消订单的间隔。单位分钟。默认为24小时

    private Integer order_finish_expire_interval;//支付后未发货或发货失败的自动取消订单的间隔。单位分钟。默认为24小时

    private String allowed_coupon_types;//允许的券种类，可多选

    public Integer getOrder_deliver_expire_interval() {
        return order_deliver_expire_interval;
    }

    public void setOrder_deliver_expire_interval(Integer order_deliver_expire_interval) {
        this.order_deliver_expire_interval = order_deliver_expire_interval;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getParent_id() {
        return parent_id;
    }

    public void setParent_id(Integer parent_id) {
        this.parent_id = parent_id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getShort_name() {
        return short_name;
    }

    public void setShort_name(String short_name) {
        this.short_name = short_name;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getOrder_num() {
        return order_num;
    }

    public void setOrder_num(String order_num) {
        this.order_num = order_num;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getIs_system() {
        return is_system;
    }

    public void setIs_system(Integer is_system) {
        this.is_system = is_system;
    }

    public Integer getVisible() {
        return visible;
    }

    public void setVisible(Integer visible) {
        this.visible = visible;
    }

    public Integer getIs_del() {
        return is_del;
    }

    public void setIs_del(Integer is_del) {
        this.is_del = is_del;
    }

    public String getSubcategories() {
        return subcategories;
    }

    public void setSubcategories(String subcategories) {
        this.subcategories = subcategories;
    }

    public Integer getRelease_limited() {
        return release_limited;
    }

    public void setRelease_limited(Integer release_limited) {
        this.release_limited = release_limited;
    }

    public String getAllowed_currency_codes() {
        return allowed_currency_codes;
    }

    public void setAllowed_currency_codes(String allowed_currency_codes) {
        this.allowed_currency_codes = allowed_currency_codes;
    }

    public Integer getOrder_pay_expire_interval() {
        return order_pay_expire_interval;
    }

    public void setOrder_pay_expire_interval(Integer order_pay_expire_interval) {
        this.order_pay_expire_interval = order_pay_expire_interval;
    }

    public Integer getOrder_finish_expire_interval() {
        return order_finish_expire_interval;
    }

    public void setOrder_finish_expire_interval(Integer order_finish_expire_interval) {
        this.order_finish_expire_interval = order_finish_expire_interval;
    }

    public String getAllowed_coupon_types() {
        return allowed_coupon_types;
    }

    public void setAllowed_coupon_types(String allowed_coupon_types) {
        this.allowed_coupon_types = allowed_coupon_types;
    }
}
